﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="Test.WebForm1" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div style="margin-left: 40px">
            <br />
            &nbsp;<asp:TextBox ID="txtKeywords" runat="server"></asp:TextBox>
            <asp:Button ID="btnSearch" runat="server" Text="搜索" OnClick="btnSearch_Click" />
            <br />
            <br />

            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" Height="108px" DataKeyNames="ID" OnRowDeleting="GridView1_RowDeleting" Width="422px">
                <Columns>
                    <asp:BoundField DataField="Name" HeaderText="名称" />
                    <asp:BoundField DataField="TimeCreated" HeaderText="创建时间" />
                    <asp:CommandField ShowDeleteButton="True" EditText="详情" CancelText="完成" />
                </Columns>
            </asp:GridView>
            <br />
            共
            <asp:Label ID="lblTotalResults" runat="server" Text="lblTotalResults"></asp:Label>
            &nbsp;条记录， 分 
            <asp:Label ID="lblPageTotal" runat="server" Text="lblPageTotal"></asp:Label>
            &nbsp;页
            <br />
            <br />
            <asp:Button ID="btnCreate" runat="server" OnClick="btnCreate_Click" Text="新增" />
            <br />

            <br />
            <br />
            <br />
            <asp:Button ID="btnTransaction" runat="server" Text="事务处理" OnClick="btnTransaction_Click" />
            <br />
            <br />
            <br />
            <asp:Label ID="lblResult" runat="server" Font-Size="18pt"></asp:Label>
            <br />
            <br />

        </div>
    </form>
</body>
</html>
